var tempPicChart = echarts.init(document.getElementById('main'));
	var option = {
			backgroundColor:'#ffffff',
			title:{
				text:'用户全天温度'
				},
			tooltip:{
				        trigger: 'axis'
				 },
			
			toolbox: {
			        show: true,
			        feature: {
			            dataZoom: {},
			            dataView: {readOnly: false},
			            magicType: {type: ['line']},
			            restore: {},
			            saveAsImage: {}
			        }
			    },
			    
			xAxis: {
				type: 'category',
				name: '',
				boundaryGap : false,
				data:(function() {
					var result = [];
					for(var i = 0;i<24;i++){
						if(i<9) i = "0"+i;
						result.	push(i+":00");				
						}
					return result;
				})()
			},
			
			yAxis:{
				type : 'value',
				min : 0,
				max : 50,
				axisLabel : {
						formatter: '{value}℃'
					},
				}
		};
	
	tempPicChart.setOption(option);
	
